gnomeos-run: Only clone runtime and devel refs
authorColin Walters <walters@verbum.org>
Fri, 20 Jan 2012 22:51:26 +0000 (17:51 -0500)
committerColin Walters <walters@verbum.org>
Fri, 20 Jan 2012 22:51:26 +0000 (17:51 -0500)
This is a lot faster.

gnomeos/yocto/gnomeos-run.sh

index b584cbb97a81b3b0748c48c20c7962706c720adc..f940f65c29a951876642a6539a2889188f113665 100755 (executable)
@@ -75,7 +75,7 @@ if ! test -d ostree; then
     ostree --repo=ostree/repo init
 fi
 cd ostree
-ostree --repo=${OSTREE_REPO} local-clone repo
+ostree --repo=${OSTREE_REPO} local-clone repo ${BRANCH_PREFIX}runtime ${BRANCH_PREFIX}devel
 for branch in runtime devel; do
     rev=$(ostree --repo=repo rev-parse ${BRANCH_PREFIX}${branch});
     if ! test -d ${BRANCH_PREFIX}${branch}-${rev}; then